import * as types from '../action-types';

const actions = {
    // reducer识别这个action
    add() {
        return { type: types.ADD }
    },
    // saga识别这个异步action
    asyncAdd() {
        return { type: types.ASYNC_ADD }
    }
}

export default actions;
